package com.zjw.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class NoticeVo {

    //主键ID
    private Long id;
    //公告标题
    private String name;
    //公告内容
    private String content;
    //创建者id
    @JsonIgnore
    private Long createBy;

    // 创建者用户名
    private String createByName;

    //创建时间
    private Date createTime;
}
